<!-- $Id: show.php,v 1.3 2011-06-17 04:43:20 herve Exp $ -->

<h2>View user <?php echo $model->username; ?></h2>
<?php
$this->widget('application.widgets.SubMenu', array (
	"items" => array (
		'list',
		'create',
		'changePwd',
		'update',
		'delete',
		'admin'
	)
));
?>


<table class="dataGrid">
	<tr>
		<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('username')); ?></th>
	    <td><?php echo CHtml::encode($model->username); ?></td>
	</tr>
	<tr>
		<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('full_name')); ?></th>
	    <td><?php echo CHtml::encode($model->fullname); ?> (<?php echo CHtml::encode($model->initials); ?>)</td>
	</tr>
	<tr>
		<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('email')); ?></th>
	    <td><?php echo CHtml::encode($model->email); ?></td>
	</tr>
	<tr>
		<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('language')); ?></th>
	    <td><?php echo CHtml::encode($model->language); ?></td>
	</tr>
	<tr>
		<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('phone_number')); ?></th>
	    <td><?php echo CHtml::encode($model->phone_number); ?></td>
	</tr>
	<tr>
		<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('simulation')); ?></th>
	    <td><?php echo CHtml::activeCheckBox($model, 'simulation', array('readonly' => 'readonly')); ?></td>
	</tr>
</table>
